package my.ts.code.viewgroup;

import my.ts.code.R;
import android.content.Context;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

public class ServiceItem extends LinearLayout {

	public TextView title;
	public ImageView image;

	public ServiceItem(Context context) {
		super(context);
		LayoutInflater li = (LayoutInflater) this.getContext()
				.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
		li.inflate(R.layout.service_grid_item, this, true);

		title = (TextView) findViewById(R.id.title);
		image = (ImageView) findViewById(R.id.image);
		// TODO Auto-generated constructor stub
	}

}
